import request from '@/utils/request'
import { ResultVoid, DeepRequired, ChangeEmailDto } from '../../interface'

/**
 * 修改邮箱
 * /user/email
 */
export function putUserEmail(input: ChangeEmailDto) {
  return request.put<DeepRequired<ResultVoid>>(`/user/email`, input)
}
